package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜品及套餐分类 服务类
 * </p>
 *
 * @author 
 * @since 2024-05-22
 */
public interface ICategoryService extends IService<Category> {

    R<Page> pageQuery(Integer page, Integer pageSize);

    void remove(Long id);

    R<List<Category>> getCategoryByType(Category type);
}
